Skip to content

tests: Enable tests for gunittest's test_assertions_vect.py #6124

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
1 change: 0 additions & 1 deletion .github/workflows/macos_gunittest.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
exclude =
gui/wxpython/core/testsuite/test_gcmd.py
gui/wxpython/core/testsuite/toolboxes.sh
python/grass/gunittest/testsuite/test_assertions_vect.py
python/grass/pygrass/raster/testsuite/test_pygrass_raster_doctests.py
python/grass/pygrass/rpc/testsuite/test_pygrass_rpc_doctests.py
python/grass/temporal/testsuite/unittests_temporal_raster_algebra_equal_ts.py
Expand Down
1 change: 0 additions & 1 deletion .gunittest.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# but it includes mainly tests which can (and should) be fixed.
exclude =
gui/wxpython/core/testsuite/toolboxes.sh
python/grass/gunittest/testsuite/test_assertions_vect.py
python/grass/gunittest/testsuite/test_gunitest_doctests.py
python/grass/pygrass/raster/testsuite/test_pygrass_raster_doctests.py
python/grass/pygrass/rpc/testsuite/test_pygrass_rpc_doctests.py
Expand Down
4 changes: 2 additions & 2 deletions python/grass/gunittest/testsuite/test_assertions_vect.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Tests assertion methods for vectors.
"""

import unittest
from grass.exceptions import CalledModuleError
from grass.gunittest.case import TestCase
from grass.gunittest.main import test
from grass.gunittest.utils import xfail_windows


V_UNIVAR_SCHOOLS_WIDTH_SUBSET = """n=144
Expand Down Expand Up @@ -282,7 +282,7 @@ def test_assertVectorAsciiEqualsVectorAscii_diff_content(self):
self.assertFileExists(self.simple_base_file)
self.assertFileExists(self.simple_modified_file)

@xfail_windows
@unittest.expectedFailure
def test_assertVectorEqualsAscii_by_import(self):
amap = "simple_vector_map_imported_base"
self.runModule(
Expand Down
Loading