Skip to content

Commit

Permalink
Fixed bug in python correlator_context test
Browse files Browse the repository at this point in the history
  • Loading branch information
gsleap committed Nov 11, 2024
1 parent dcd82d0 commit e751fed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/test_correlator_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ def legacy_cc() -> mwalib.CorrelatorContext:
return mwalib.CorrelatorContext(LEGACY_CORRELATOR_METAFITS, LEGACY_CORRELATOR_GPUBOX_FILES)


def test_legacy_corr_context_attributes(mwax_cc: mwalib.CorrelatorContext):
assert mwax_cc.mwa_version == mwalib.MWAVersion.CorrLegacy
assert mwax_cc.bscale == 0.5
def test_legacy_corr_context_attributes(legacy_cc: mwalib.CorrelatorContext):
assert legacy_cc.mwa_version == mwalib.MWAVersion.CorrLegacy
assert legacy_cc.bscale == 0.5


def test_mwax_corr_context_attributes(mwax_cc: mwalib.CorrelatorContext):
Expand Down
4 changes: 3 additions & 1 deletion tools/test_msrv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ pytest

# Build C examples
echo "Building C examples..."
examples/build_c_examples.sh
pushd examples
./build_c_examples.sh
popd

# Switch back to this dir
popd

0 comments on commit e751fed

Please sign in to comment.