mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Reverting the Revision: 77368. I committed Flox's big patch for tests by
mistake. ( It may come in for sure tough)
This commit is contained in:
parent
3ddc435af6
commit
ce8e33a095
107 changed files with 436 additions and 794 deletions
|
@ -6,7 +6,6 @@ For now, tests just new or changed functionality.
|
|||
|
||||
import unittest
|
||||
from test import test_support
|
||||
import warnings
|
||||
|
||||
class BufferTests(unittest.TestCase):
|
||||
|
||||
|
@ -24,11 +23,7 @@ class BufferTests(unittest.TestCase):
|
|||
|
||||
|
||||
def test_main():
|
||||
with warnings.catch_warnings():
|
||||
# Silence Py3k warning
|
||||
warnings.filterwarnings("ignore", "buffer.. not supported",
|
||||
DeprecationWarning)
|
||||
test_support.run_unittest(BufferTests)
|
||||
test_support.run_unittest(BufferTests)
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue