diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2016-01-27 15:54:47 +0100 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2016-01-27 15:54:47 +0100 |
commit | dd5e979d43e1c6938a344e013e04eb4477c9f165 (patch) | |
tree | 72ec5026c6a6930865034e4d11647ef4a5869261 /rsa/_compat.py | |
parent | 4a6a2b7b7facd5bcbf8b9e137d0047a170c5e8d4 (diff) | |
download | rsa-git-dd5e979d43e1c6938a344e013e04eb4477c9f165.tar.gz |
Simplified test structure a bit, so we no longer need to set PYTHONPATH
The u'' string prefix was reintroduced in Python 3.3, and since we've
dropped py3.2 support we can avoid the whole py{2k,3k}constants.py mess.
Diffstat (limited to 'rsa/_compat.py')
-rw-r--r-- | rsa/_compat.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rsa/_compat.py b/rsa/_compat.py index c654770..6fb9b62 100644 --- a/rsa/_compat.py +++ b/rsa/_compat.py @@ -44,11 +44,9 @@ else: try: # < Python3 unicode_type = unicode - have_python3 = False except NameError: # Python3. unicode_type = str - have_python3 = True # Fake byte literals. if str is unicode_type: |