Bug 2155238 - python-chai fails to build with Python 3.12: AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'.
Summary: python-chai fails to build with Python 3.12: AttributeError: 'ComparatorsTest...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: python-chai
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.12
TreeView+ depends on / blocked
 
Reported: 2022-12-20 13:47 UTC by Tomáš Hrnčiar
Modified: 2024-05-21 14:24 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-21 14:24:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2022-12-20 13:47:24 UTC
python-chai fails to build with Python 3.12.0a3.

======================================================================
ERROR: test_all (tests.comparator_test.ComparatorsTest.test_all)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 152, in test_all
    self.assertEquals( 'foo'.encode('ascii'), bytearray('foo'.encode('ascii')) )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_almost_equal_repr (tests.comparator_test.ComparatorsTest.test_almost_equal_repr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 102, in test_almost_equal_repr
    self.assertEquals(repr(comp), "AlmostEqual(value: 3.14159265, places: 3)")
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_any_repr (tests.comparator_test.ComparatorsTest.test_any_repr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 125, in test_any_repr
    self.assertEquals(repr(comp), "Any([1, 2, 3, Any([IsA(str), Is(<class 'str'>)])])")
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_eq (tests.comparator_test.ComparatorsTest.test_eq)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 50, in test_eq
    self.assertEquals( comp, 3 )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_equals_repr (tests.comparator_test.ComparatorsTest.test_equals_repr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 46, in test_equals_repr
    self.assertEquals(str(comp), "3")
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_is (tests.comparator_test.ComparatorsTest.test_is)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 82, in test_is
    self.assertEquals( obj1, obj2 )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_is_a_format_name (tests.comparator_test.ComparatorsTest.test_is_a_format_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 71, in test_is_a_format_name
    self.assertEquals(comp._format_name(), "str")
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_is_a_repr (tests.comparator_test.ComparatorsTest.test_is_a_repr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 67, in test_is_a_repr
    self.assertEquals(repr(comp), "IsA(str)")
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_is_repr (tests.comparator_test.ComparatorsTest.test_is_repr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 93, in test_is_repr
    self.assertEquals(repr(Is(obj)), "Is(An Object)" )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_like_init (tests.comparator_test.ComparatorsTest.test_like_init)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 217, in test_like_init
    self.assertEquals( {'foo':'bar'}, c._src )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_like_repr (tests.comparator_test.ComparatorsTest.test_like_repr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 235, in test_like_repr
    self.assertEquals( repr(c), "Like({'foo': 'bar'})" )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_regex_repr (tests.comparator_test.ComparatorsTest.test_regex_repr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 112, in test_regex_repr
    self.assertEquals(repr(comp), "Regex(pattern: [wf][io]{2}, flags: 0)")
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_variable (tests.comparator_test.ComparatorsTest.test_variable)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 189, in test_variable
    self.assertEquals( 0, len(Variable._cache) )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_variable_repr (tests.comparator_test.ComparatorsTest.test_variable_repr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py", line 213, in test_variable_repr
    self.assertEquals( repr(v), "Variable('foo')" )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ComparatorsTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_any_order (tests.expectation_test.ExpectationRule.test_any_order)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 128, in test_any_order
    self.assertEquals( exp, exp.any_order().times(1) )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_any_order_with_no_max (tests.expectation_test.ExpectationRule.test_any_order_with_no_max)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 139, in test_any_order_with_no_max
    self.assertEquals( exp, exp.any_order().at_least_once() )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_at_least (tests.expectation_test.ExpectationRule.test_at_least)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 102, in test_at_least
    self.assertEquals( exp, exp.at_least(10) )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_at_least_once (tests.expectation_test.ExpectationRule.test_at_least_once)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 96, in test_at_least_once
    self.assertEquals( exp, exp.at_least_once() )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_at_most (tests.expectation_test.ExpectationRule.test_at_most)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 115, in test_at_most
    self.assertEquals( exp, exp.args(1).at_most(10) )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_at_most_once (tests.expectation_test.ExpectationRule.test_at_most_once)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 109, in test_at_most_once
    self.assertEquals( exp, exp.args(1).at_most_once() )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_once (tests.expectation_test.ExpectationRule.test_once)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 122, in test_once
    self.assertEquals( exp, exp.args(1).once() )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_return_value_with_exception_class (tests.expectation_test.ExpectationRule.test_return_value_with_exception_class)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 264, in test_return_value_with_exception_class
    self.assertEquals( exp, exp.raises(CustomException) )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_return_value_with_exception_instance (tests.expectation_test.ExpectationRule.test_return_value_with_exception_instance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 272, in test_return_value_with_exception_instance
    self.assertEquals( exp, exp.raises(CustomException()) )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_return_value_with_value (tests.expectation_test.ExpectationRule.test_return_value_with_value)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 226, in test_return_value_with_value
    self.assertEquals(exp.test(), 123)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_return_value_with_variable (tests.expectation_test.ExpectationRule.test_return_value_with_variable)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 234, in test_return_value_with_variable
    self.assertEquals(exp.test(), 123)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_return_value_with_variable_in_tuple (tests.expectation_test.ExpectationRule.test_return_value_with_variable_in_tuple)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 243, in test_return_value_with_variable_in_tuple
    self.assertEquals(exp.test(), (123,'foo'))
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_side_effect (tests.expectation_test.ExpectationRule.test_side_effect)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 154, in test_side_effect
    self.assertEquals( exp, exp.side_effect(effect) )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_side_effect_with_an_exception (tests.expectation_test.ExpectationRule.test_side_effect_with_an_exception)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 188, in test_side_effect_with_an_exception
    self.assertEquals( exp, exp.side_effect(effect).raises(Zono) )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_side_effect_with_args (tests.expectation_test.ExpectationRule.test_side_effect_with_args)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 165, in test_side_effect_with_args
    self.assertEquals( exp, exp.side_effect(effect, 'a', b='c') )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_side_effect_with_passed_args (tests.expectation_test.ExpectationRule.test_side_effect_with_passed_args)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 177, in test_side_effect_with_passed_args
    self.assertEquals( exp, exp.side_effect(effect) )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_teardown (tests.expectation_test.ExpectationRule.test_teardown)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 202, in test_teardown
    self.assertEquals( ['foo'], called )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_times (tests.expectation_test.ExpectationRule.test_times)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 90, in test_times
    self.assertEquals( exp, exp.times(3) )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_with_returns_return_value (tests.expectation_test.ExpectationRule.test_with_returns_return_value)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py", line 249, in test_with_returns_return_value
    self.assertEquals(num, 123)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ExpectationRule' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_expect (tests.chai_test.ChaiTest.test_expect)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/chai_test.py", line 106, in test_expect
    self.assertEquals( deque(), case._stubs )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ChaiTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_mock_no_binding (tests.chai_test.ChaiTest.test_mock_no_binding)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/chai_test.py", line 120, in test_mock_no_binding
    self.assertEquals( deque(), case._mocks )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ChaiTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_mock_with_attr_binding (tests.chai_test.ChaiTest.test_mock_with_attr_binding)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/chai_test.py", line 139, in test_mock_with_attr_binding
    self.assertEquals( deque(), case._mocks )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ChaiTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_runs_unmet_expectations (tests.chai_test.ChaiTest.test_runs_unmet_expectations)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/chai_test.py", line 172, in test_runs_unmet_expectations
    self.assertEquals(1, stub.unmet_calls)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ChaiTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_setup (tests.chai_test.ChaiTest.test_setup)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/chai_test.py", line 62, in test_setup
    self.assertEquals( deque(), case._stubs )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ChaiTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_stub (tests.chai_test.ChaiTest.test_stub)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/chai_test.py", line 90, in test_stub
    self.assertEquals( deque(), case._stubs )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ChaiTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_teardown_closes_out_stubs_and_mocks (tests.chai_test.ChaiTest.test_teardown_closes_out_stubs_and_mocks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/chai_test.py", line 79, in test_teardown_closes_out_stubs_and_mocks
    self.assertEquals( 1, stub.calls )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ChaiTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_call_raises_unexpected_call_when_closed_and_no_matching (tests.stub_test.StubClassTest.test_call_raises_unexpected_call_when_closed_and_no_matching)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 294, in test_call_raises_unexpected_call_when_closed_and_no_matching
    self.assertEquals(0, s._expectations[0]._match_count)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubClassTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_call_when_args_match (tests.stub_test.StubClassTest.test_call_when_args_match)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 262, in test_call_when_args_match
    self.assertEquals('success', s('foo'))
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubClassTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_expect (tests.stub_test.StubClassTest.test_expect)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 239, in test_expect
    self.assertEquals([], s._expectations)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubClassTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_init (tests.stub_test.StubClassTest.test_init)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 220, in test_init
    self.assertEquals('obj', s._obj)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubClassTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_teardown (tests.stub_test.StubClassTest.test_teardown)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 234, in test_teardown
    self.assertEquals([], s._expectations)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubClassTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_call_orig (tests.stub_test.StubFunctionTest.test_call_orig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 405, in test_call_orig
    self.assertEquals(12, s.call_orig(4))
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubFunctionTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_init (tests.stub_test.StubFunctionTest.test_init)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 387, in test_init
    self.assertEquals(s._instance, samples)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubFunctionTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_init_with_object_method (tests.stub_test.StubFunctionTest.test_init_with_object_method)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 396, in test_init_with_object_method
    self.assertEquals(True, s._was_object_method)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubFunctionTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_name (tests.stub_test.StubFunctionTest.test_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 399, in test_name
    s = StubFunction(samples.mod_func_1)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/chai-1.1.2/chai/stub.py", line 491, in __init__
    raise UnsupportedStub("Failed to find name of %s" % (obj))
chai.exception.UnsupportedStub: Failed to find name of <chai.stub.StubFunction object at 0x7f70649435f0>

======================================================================
ERROR: test_teardown (tests.stub_test.StubFunctionTest.test_teardown)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 410, in test_teardown
    s = StubFunction(samples.mod_func_1)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/chai-1.1.2/chai/stub.py", line 491, in __init__
    raise UnsupportedStub("Failed to find name of %s" % (obj))
chai.exception.UnsupportedStub: Failed to find name of <chai.stub.StubFunction object at 0x7f70649435f0>

======================================================================
ERROR: test_teardown_on_object_method (tests.stub_test.StubFunctionTest.test_teardown_on_object_method)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 416, in test_teardown_on_object_method
    self.assertEquals(object.__new__, getattr(x, '__new__'))
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubFunctionTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_call_orig (tests.stub_test.StubMethodTest.test_call_orig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 353, in test_call_orig
    self.assertEquals(3, sa.call_orig())
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubMethodTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_init (tests.stub_test.StubMethodTest.test_init)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 319, in test_init
    self.assertEquals(s._obj, orig)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubMethodTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_name (tests.stub_test.StubMethodTest.test_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 337, in test_name
    self.assertEquals("Expect.closed", s.name)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubMethodTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_teardown (tests.stub_test.StubMethodTest.test_teardown)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 365, in test_teardown
    self.assertEquals(orig, f.bar)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubMethodTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_teardown_of_bound_instance_methods_exported_in_module (tests.stub_test.StubMethodTest.test_teardown_of_bound_instance_methods_exported_in_module)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 381, in test_teardown_of_bound_instance_methods_exported_in_module
    self.assertEquals(orig, samples.mod_instance_foo)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubMethodTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_call_orig (tests.stub_test.StubMethodWrapperTest.test_call_orig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 578, in test_call_orig
    self.assertEquals(3, sg.call_orig())
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubMethodWrapperTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_init (tests.stub_test.StubMethodWrapperTest.test_init)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 556, in test_init
    self.assertEquals(s._instance, foo)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubMethodWrapperTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_name (tests.stub_test.StubMethodWrapperTest.test_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 565, in test_name
    self.assertEquals("Foo.__hash__", s.name)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubMethodWrapperTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_teardown (tests.stub_test.StubMethodWrapperTest.test_teardown)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 588, in test_teardown
    self.assertEquals(orig, obj.__hash__)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubMethodWrapperTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_call (tests.stub_test.StubNewTest.test_call)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 452, in test_call
    self.assertEquals('success', Foo('state', a='b'))
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubNewTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_init (tests.stub_test.StubNewTest.test_init)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 438, in test_init
    self.assertEquals(s._instance, Foo)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubNewTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_name (tests.stub_test.StubPropertyTest.test_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 308, in test_name
    self.assertEquals(s.name, 'Foo.prop')
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubPropertyTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_stub_bound_method_for_classmethod_with_attr_name (tests.stub_test.StubTest.test_stub_bound_method_for_classmethod_with_attr_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 166, in test_stub_bound_method_for_classmethod_with_attr_name
    self.assertEquals(res, stub(Foo,'bar'))
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_stub_bound_method_for_classmethod_with_obj_ref (tests.stub_test.StubTest.test_stub_bound_method_for_classmethod_with_obj_ref)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 176, in test_stub_bound_method_for_classmethod_with_obj_ref
    self.assertEquals(res, stub(Foo.bar))
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_stub_bound_method_for_instance_with_attr_name (tests.stub_test.StubTest.test_stub_bound_method_for_instance_with_attr_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 139, in test_stub_bound_method_for_instance_with_attr_name
    self.assertEquals(res._instance, foo)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_stub_bound_method_for_instance_with_obj_ref (tests.stub_test.StubTest.test_stub_bound_method_for_instance_with_obj_ref)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 153, in test_stub_bound_method_for_instance_with_obj_ref
    self.assertEquals(res._instance, foo)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_stub_method_wrapper_with_attr_name (tests.stub_test.StubTest.test_stub_method_wrapper_with_attr_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 186, in test_stub_method_wrapper_with_attr_name
    self.assertEquals(res, stub(foo, '__hash__'))
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_stub_method_wrapper_with_obj_ref (tests.stub_test.StubTest.test_stub_method_wrapper_with_obj_ref)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 196, in test_stub_method_wrapper_with_obj_ref
    self.assertEquals(res, stub(foo.__hash__))
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_stub_mock_with_attr_name (tests.stub_test.StubTest.test_stub_mock_with_attr_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 83, in test_stub_mock_with_attr_name
    self.assertEquals(res, f.bar.__call__)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_stub_mock_with_obj_ref (tests.stub_test.StubTest.test_stub_mock_with_obj_ref)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 94, in test_stub_mock_with_obj_ref
    self.assertEquals(res, f.bar.__call__)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_stub_module_function_with_attr_name (tests.stub_test.StubTest.test_stub_module_function_with_attr_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 202, in test_stub_module_function_with_attr_name
    self.assertEquals(res, getattr(samples,'mod_func_1'))
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_stub_module_function_with_obj_ref (tests.stub_test.StubTest.test_stub_module_function_with_obj_ref)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 209, in test_stub_module_function_with_obj_ref
    self.assertEquals(res, getattr(samples,'mod_func_1'))
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_stub_type_with_obj_ref (tests.stub_test.StubTest.test_stub_type_with_obj_ref)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 103, in test_stub_type_with_obj_ref
    self.assertEquals(res, Foo.__new__)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_stub_unbound_method_with_attr_name (tests.stub_test.StubTest.test_stub_unbound_method_with_attr_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 118, in test_stub_unbound_method_with_attr_name
    self.assertEquals(res, stub(Foo,'bar'))
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_call_acts_as_any_instance (tests.stub_test.StubUnboundMethodTest.test_call_acts_as_any_instance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 547, in test_call_acts_as_any_instance
    self.assertEquals(2, s.calls)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubUnboundMethodTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_init (tests.stub_test.StubUnboundMethodTest.test_init)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 509, in test_init
    self.assertEquals(s._instance, Foo)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubUnboundMethodTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_name (tests.stub_test.StubUnboundMethodTest.test_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 518, in test_name
    self.assertEquals("Expect.closed", s.name)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubUnboundMethodTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_teardown (tests.stub_test.StubUnboundMethodTest.test_teardown)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 528, in test_teardown
    self.assertEquals(orig, Foo.bar)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubUnboundMethodTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_call_orig (tests.stub_test.StubWrapperDescriptionTest.test_call_orig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 615, in test_call_orig
    self.assertEquals(foo_str, s.call_orig())
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubWrapperDescriptionTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_init (tests.stub_test.StubWrapperDescriptionTest.test_init)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 596, in test_init
    self.assertEquals(s._obj, Foo)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubWrapperDescriptionTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_name (tests.stub_test.StubWrapperDescriptionTest.test_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 604, in test_name
    self.assertEquals("Foo.__hash__", s.name)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubWrapperDescriptionTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_teardown (tests.stub_test.StubWrapperDescriptionTest.test_teardown)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/stub_test.py", line 623, in test_teardown
    self.assertEquals(orig, Foo.__hash__)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'StubWrapperDescriptionTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_iterative_expectations (tests.functional_test.FunctionalTest.test_iterative_expectations)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/functional_test.py", line 68, in test_iterative_expectations
    assert_equals( 3, f.bar(3) )
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_properties_using_attr_name_on_an_instance_only (tests.functional_test.FunctionalTest.test_properties_using_attr_name_on_an_instance_only)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/functional_test.py", line 23, in test_properties_using_attr_name_on_an_instance_only
    assert_equals( 'foo', foo.prop )
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_properties_using_obj_ref_on_a_class_and_using_get_first (tests.functional_test.FunctionalTest.test_properties_using_obj_ref_on_a_class_and_using_get_first)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/functional_test.py", line 42, in test_properties_using_obj_ref_on_a_class_and_using_get_first
    assert_equals( 'foo', Foo().prop )
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_properties_using_obj_ref_on_a_class_and_using_set_first (tests.functional_test.FunctionalTest.test_properties_using_obj_ref_on_a_class_and_using_set_first)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/functional_test.py", line 59, in test_properties_using_obj_ref_on_a_class_and_using_set_first
    assert_equals( 'foo', Foo().prop )
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_almost_equals_comparator (tests.sample_test.SampleBaseTest.test_almost_equals_comparator)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 265, in test_almost_equals_comparator
    assert_equals(obj.bound_method(10.12), 100)
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_expect_unbound_method_acts_as_any_instance (tests.sample_test.SampleBaseTest.test_expect_unbound_method_acts_as_any_instance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 193, in test_expect_unbound_method_acts_as_any_instance
    assert_equals('world', obj2.bound_method('hello'))
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_expects_any_order_without_count_modifiers (tests.sample_test.SampleBaseTest.test_expects_any_order_without_count_modifiers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 121, in test_expects_any_order_without_count_modifiers
    assert_equals(4, obj.bound_method(3))
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_expects_bound_method_at_least_as_last_expectation (tests.sample_test.SampleBaseTest.test_expects_bound_method_at_least_as_last_expectation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 83, in test_expects_bound_method_at_least_as_last_expectation
    assert_equals(12, obj.bound_method(1, 2))
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_expects_bound_method_at_least_with_other_expectation_and_anyorder (tests.sample_test.SampleBaseTest.test_expects_bound_method_at_least_with_other_expectation_and_anyorder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 72, in test_expects_bound_method_at_least_with_other_expectation_and_anyorder
    assert_equals(12, obj.bound_method(1, 2))
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_expects_bound_method_at_least_with_other_expectation_and_no_anyorder (tests.sample_test.SampleBaseTest.test_expects_bound_method_at_least_with_other_expectation_and_no_anyorder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 61, in test_expects_bound_method_at_least_with_other_expectation_and_no_anyorder
    assert_equals(12, obj.bound_method(1, 2))
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_expects_bound_method_at_most (tests.sample_test.SampleBaseTest.test_expects_bound_method_at_most)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 91, in test_expects_bound_method_at_most
    assert_equals(12, obj.bound_method(1, 2))
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_expects_bound_method_can_be_used_for_iterative_testing (tests.sample_test.SampleBaseTest.test_expects_bound_method_can_be_used_for_iterative_testing)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 136, in test_expects_bound_method_can_be_used_for_iterative_testing
    assert_equals(12, obj.bound_method(1, 2))
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_expects_bound_method_returns (tests.sample_test.SampleBaseTest.test_expects_bound_method_returns)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 53, in test_expects_bound_method_returns
    assert_equals(12, obj.bound_method(1, 2))
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_expects_class_method (tests.sample_test.SampleBaseTest.test_expects_class_method)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 207, in test_expects_class_method
    assert_equals(12, SampleBase.a_classmethod())
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_expects_on_builtin_function (tests.sample_test.SampleBaseTest.test_expects_on_builtin_function)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 48, in test_expects_on_builtin_function
    assert_equals('ok', os.remove('foo'))
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_expects_property (tests.sample_test.SampleBaseTest.test_expects_property)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 41, in test_expects_property
    assert_equals("property value", obj.prop)
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_function_comparator (tests.sample_test.SampleBaseTest.test_function_comparator)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 253, in test_function_comparator
    assert_equals(obj.bound_method(100), 100)
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_ignore_arg (tests.sample_test.SampleBaseTest.test_ignore_arg)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 248, in test_ignore_arg
    assert_equals(obj.bound_method('first_name'), 100)
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_in_comparator (tests.sample_test.SampleBaseTest.test_in_comparator)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 258, in test_in_comparator
    assert_equals(obj.bound_method(['name', 'age']), 100)
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_is_comparator (tests.sample_test.SampleBaseTest.test_is_comparator)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 270, in test_is_comparator
    assert_equals(obj.bound_method(obj), 100)
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_regex_comparator (tests.sample_test.SampleBaseTest.test_regex_comparator)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 243, in test_regex_comparator
    assert_equals(obj.bound_method('first_name'), 100)
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_spy (tests.sample_test.SampleBaseTest.test_spy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 295, in test_spy
    assert_equals(['v1'], list(obj._deque))
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_var_comparator (tests.sample_test.SampleBaseTest.test_var_comparator)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 284, in test_var_comparator
    assert_equals('v1', var('value1').value)
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: tests_expects_bound_method_any_order_with_fixed_maxes (tests.sample_test.SampleBaseTest.tests_expects_bound_method_any_order_with_fixed_maxes)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 100, in tests_expects_bound_method_any_order_with_fixed_maxes
    assert_equals(4, obj.bound_method(3))
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: tests_expects_bound_method_any_order_with_mins (tests.sample_test.SampleBaseTest.tests_expects_bound_method_any_order_with_mins)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/chai/chai.py", line 63, in wrapper
    func(self, *args, **kwargs)
  File "/builddir/build/BUILD/chai-1.1.2/tests/sample_test.py", line 108, in tests_expects_bound_method_any_order_with_mins
    assert_equals(4, obj.bound_method(3))
    ^^^^^^^^^^^^^
NameError: name 'assert_equals' is not defined. Did you mean: 'assert_equal'?

======================================================================
ERROR: test_call_not_raises_unexpectedcall_when_stubbed (tests.mock_test.MockTest.test_call_not_raises_unexpectedcall_when_stubbed)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/mock_test.py", line 64, in test_call_not_raises_unexpectedcall_when_stubbed
    self.assertEquals( 'success', m() )
    ^^^^^^^^^^^^^^^^^
AttributeError: 'MockTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_container_interface_when_stubbed (tests.mock_test.MockTest.test_container_interface_when_stubbed)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/chai-1.1.2/tests/mock_test.py", line 100, in test_container_interface_when_stubbe

Removed many old deprecated unittest features:

    - A number of TestCase method aliases:

    | Deprecated alias      |  Method Name           | Deprecated in |
    +-----------------------|------------------------|---------------+
    | failUnless            | assertTrue()           |      3.1      |
    | failIf                | assertFalse()          |      3.1      |
    | failUnlessEqual       | assertEqual()          |      3.1      |
    | failIfEqual           | assertNotEqual()       |      3.1      |
    | failUnlessAlmostEqual | assertAlmostEqual()    |      3.1      |
    | failIfAlmostEqual     | assertNotAlmostEqual() |      3.1      |
    | failUnlessRaises      | assertRaises()         |      3.1      |
    | assert_               | assertTrue()           |      3.2      |
    | assertEquals          | assertEqual()          |      3.2      |
    | assertNotEquals       | assertNotEqual()       |      3.2      |
    | assertAlmostEquals    | assertAlmostEqual()    |      3.2      |
    | assertNotAlmostEquals | assertNotAlmostEqual() |      3.2      |
    | assertRegexpMatches   | assertRegex()          |      3.2      |
    | assertRaisesRegexp    | assertRaisesRegex()    |      3.2      |
    | assertNotRegexpMatches| assertNotRegex()       |      3.5      |
    +-----------------------|------------------------|---------------+

    You can use https://github.com/isidentical/teyit to automatically modernise your unit tests.

    - Undocumented and broken TestCase method assertDictContainsSubset (deprecated in Python 3.2).

    - Undocumented TestLoader.loadTestsFromModule parameter use_load_tests (deprecated and ignored since Python 3.2).

    - An alias of the TextTestResult class: _TextTestResult (deprecated in Python
3.2).

(Contributed by Serhiy Storchaka in bpo-45162.)
https://bugs.python.org/issue?@action=redirect&bpo=45162



https://docs.python.org/3.12/whatsnew/3.12.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.12/fedora-rawhide-x86_64/05128489-python-chai/

For all our attempts to build python-chai with Python 3.12, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.12/package/python-chai/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.12:
https://copr.fedorainfracloud.org/coprs/g/python/python3.12/

Let us know here if you have any questions.

Python 3.12 is planned to be included in Fedora 39. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.12.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Ben Cotton 2023-02-07 15:03:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 3 Aoife Moloney 2024-05-07 15:54:08 UTC
This message is a reminder that Fedora Linux 38 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '38'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 38 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Aoife Moloney 2024-05-21 14:24:00 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.