esda icon indicating copy to clipboard operation
esda copied to clipboard

several tests not being run in `test_smoothing.py`

Open jGaboardi opened this issue 3 years ago • 0 comments

  • Two tests in TestSRatetest_Spatial_Smoother_multicol and test_Smoother_multicol – are indented one tab too far and are not being run.
    • When the indentation is corrected and tests are run (after swapping answer for answers), both tests fail with: TypeError: 'in <string>' requires string as left operand, not Index
  • There are two tests in TestKernel_AgeAdj_SM named test_Kernel_Smoother_tabularhere and here, with the second overwriting the first (and passing.
    • Locally, however, when named distinctly the first fails because kernel_exp is not defined.
    • After defining kernel_exp as self.kernel_exp the first assert passes, but the second fails with KeyError: 'e_b_kernel_smoother'

jGaboardi avatar Nov 19 '22 17:11 jGaboardi