Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)

src/p/y/PyFileSec-0.2.14/pyfilesec/__init__.py   PyFileSec(Download)
            elif args.clipboard:
                try:
                    import _pyperclip
                except (ImportError, RuntimeError):
                    fatal("can't import clipboard: no display?", RuntimeError)

src/p/y/PyFileSec-0.2.14/tests/test_other.py   PyFileSec(Download)
    def test_import_pyperclip(self):
        import _pyperclip
 
    def test_import_getpass_which(self):
        os.chdir(self.start_dir)

src/p/y/PyFileSec-0.2.14/tests/test_crypto.py   PyFileSec(Download)
        # travis-ci builds on linux, needs xclip, else import will fail
        try:
            import _pyperclip
            GenRSA().dialog(interactive=False, args=args)
        except (RuntimeError, ImportError):