diff options
author | Guido van Rossum <guido@python.org> | 2001-08-16 08:32:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-16 08:32:39 (GMT) |
commit | 297abadc6b871c61388c3df2e5e7b3e531a9a813 (patch) | |
tree | df7df13bd1a9915e82113ff57e4238ee90e28661 /Lib/test/test_generators.py | |
parent | 8098ddbe814325c7869f7d63aa102019b353c6b6 (diff) | |
download | cpython-297abadc6b871c61388c3df2e5e7b3e531a9a813.zip cpython-297abadc6b871c61388c3df2e5e7b3e531a9a813.tar.gz cpython-297abadc6b871c61388c3df2e5e7b3e531a9a813.tar.bz2 |
The change of type(None).__name__ from 'None' to 'NoneType' broke this
test in a trivial way. Fixed.
Diffstat (limited to 'Lib/test/test_generators.py')
-rw-r--r-- | Lib/test/test_generators.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py index 41629d3..947e26f 100644 --- a/Lib/test/test_generators.py +++ b/Lib/test/test_generators.py @@ -780,7 +780,7 @@ SyntaxError: invalid syntax ... yield 1 ... >>> type(f()) -<type 'None'> +<type 'NoneType'> >>> def f(): ... if 0: @@ -790,7 +790,7 @@ SyntaxError: invalid syntax ... def f(self): ... yield 2 >>> type(f()) -<type 'None'> +<type 'NoneType'> >>> def f(): ... if 0: |