diff --git a/lib/utils/wrapper.py b/lib/utils/wrapper.py index bedc1da55caabd55127fd548c941ee27119d618b..982971e71f841ad84a21a063db829382bf373765 100644 --- a/lib/utils/wrapper.py +++ b/lib/utils/wrapper.py @@ -184,7 +184,7 @@ def ResetTempfileModule(_time=time.time): """ # pylint: disable=W0212 if ((sys.hexversion >= 0x020703F0 and sys.hexversion < 0x03000000) or - sys.hexversion >=0x030203F0): + sys.hexversion >= 0x030203F0): # Python 2.7 automatically resets the RNG on pid changes (i.e. forking) return diff --git a/test/tempfile_fork_unittest.py b/test/tempfile_fork_unittest.py index b794e33e07ab8a6a60c6c0032027a6d71ff124cd..6811f76f18a72849dc5652a50f11c807b5ab8dd8 100755 --- a/test/tempfile_fork_unittest.py +++ b/test/tempfile_fork_unittest.py @@ -48,7 +48,7 @@ class TestResetTempfileModule(unittest.TestCase): def testNoReset(self): if ((sys.hexversion >= 0x020703F0 and sys.hexversion < 0x03000000) or - sys.hexversion >=0x030203F0): + sys.hexversion >= 0x030203F0): # We can't test the no_reset case on Python 2.7+ return # evil Debian sid...