commit | 43566aee12a177a7aef5d732abf768251e6b8a12 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Tue May 02 18:26:25 2017 +0300 |
committer | GitHub <noreply@github.com> | Tue May 02 18:26:25 2017 +0300 |
tree | b2a1a46220a31fd4c65068d3192098da4a7c4207 | |
parent | 2c7085fd7b00cba8b5ab258c62453b6a12418b73 [diff] [blame] |
[2.7] bpo-30223: Add Lib/test/__main__.py. (#1373) To unify running tests in Python 2.7 and Python 3, the test package can be run as a script. This is equivalent to running the test.regrtest module as a script.
diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py index 138e17e..4268394 100644 --- a/Lib/test/pickletester.py +++ b/Lib/test/pickletester.py
@@ -1,4 +1,6 @@ # -*- coding: utf-8 -*- +from __future__ import absolute_import + import unittest import pickle import cPickle