Skip to content

Test failure on Py3.11 #211

@sanjayankur31

Description

@sanjayankur31

A test is failing on Py3.11 here:

======================================================================
FAIL: test_source_check (sciunit.unit_test.model_tests.CapabilitiesTestCase.test_source_check)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/asinha/Documents/02_Code/01_others/sciunit/sciunit/unit_test/model_tests.py", line 241, in test_source_check
    self.assertFalse(MyCap1.source_check(MyModel2()))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: True is not false

----------------------------------------------------------------------
Ran 83 tests in 11.860s

FAILED (failures=1, skipped=2)

Steps to reproduce:

  • clone repo
  • install py3.11 and associated developer libraries/headers
  • set up py3.11 virtualenv
  • pip install wheel pytest
  • pip install .
  • chmod +x test.sh
  • ./test.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions