8000 [3.12] gh-121039: add Floats/ComplexesAreIdenticalMixin to test.support.testcase (GH-121071) by skirpichev · Pull Request #123841 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.12] gh-121039: add Floats/ComplexesAreIdenticalMixin to test.support.testcase (GH-121071) #123841

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
+1
  • Loading branch information
skirpichev committed Sep 8, 2024
commit 11bdd4374a95f201b7323bf844cb68aa7c85b255
4 changes: 1 addition & 3 deletions Lib/test/test_ctypes/test_numbers.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from ctypes import *
import unittest
import struct
from test.support.testcase import ComplexesAreIdenticalMixin


def valid_ranges(*types):
# given a sequence of numeric types, collect their _type_
Expand Down Expand Up @@ -52,7 +50,7 @@ def valid_ranges(*types):

################################################################

class NumberTestCase(unittest.TestCase, ComplexesAreIdenticalMixin):
class NumberTestCase(unittest.TestCase):

def test_default_init(self):
# default values are set to zero
Expand Down
Loading
0