Skip to content

Commit

Permalink
- attempting to fix tests failing on GitHub due to missing packages;
Browse files Browse the repository at this point in the history
  • Loading branch information
jaltmayerpizzorno committed Apr 29, 2022
1 parent d88f569 commit 5ac8f0b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/slipcover_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@ def test_filematcher_defaults():
import inspect # should be in python's own lib
assert not fm.matches(inspect.getfile(inspect))

import numpy # usually in site-packages
assert not fm.matches(inspect.getfile(numpy))
import pip # usually in site-packages
assert not fm.matches(inspect.getfile(pip))


@pytest.fixture
Expand Down Expand Up @@ -545,8 +545,8 @@ def test_filematcher_defaults_from_root(return_to_dir):
import inspect # should be in python's own lib
assert not fm.matches(inspect.getfile(inspect))

import numpy # usually in site-packages
assert not fm.matches(inspect.getfile(numpy))
import pip # usually in site-packages
assert not fm.matches(inspect.getfile(pip))

def test_filematcher_source():
from pathlib import Path
Expand Down Expand Up @@ -575,8 +575,8 @@ def test_filematcher_source():
import inspect # should be in python's own lib
assert not fm.matches(inspect.getfile(inspect))

import numpy # usually in site-packages
assert not fm.matches(inspect.getfile(numpy))
import pip # usually in site-packages
assert not fm.matches(inspect.getfile(pip))


def test_filematcher_omit_pattern():
Expand All @@ -601,8 +601,8 @@ def test_filematcher_omit_pattern():
import inspect # should be in python's own lib
assert not fm.matches(inspect.getfile(inspect))

import numpy # usually in site-packages
assert not fm.matches(inspect.getfile(numpy))
import pip # usually in site-packages
assert not fm.matches(inspect.getfile(pip))

# FIXME what about patterns starting with '?'

Expand Down

0 comments on commit 5ac8f0b

Please sign in to comment.