Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Test of num_regression user message failing

See original GitHub issue

tests/ currently fails when running from a virtual environment on Windows because it produces this message:

          obtained_data1         ...                          diff
500  1.20000000000000018         ...           0.10000000000000009

While the expected was this one:

          obtained_data1       expected_data1                 diff
500  1.20000000000000018  1.10000000000000009  0.10000000000000009

It seems there’s some issue with how pandas formats the tables.

The weird thing is that the same test passes when run inside our conda environment.

The test has been marked as xfail for now.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

nicoddemuscommented, Oct 10, 2018

It seems someone found a solution for a similar problem:

nicoddemuscommented, Jul 13, 2018

Oh that’s cool, wait up I will open the PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

doctest — Test interactive Python examples — Python 3.11.1 ...
To perform regression testing by verifying that interactive examples from a test ... This means examples can freely use any names defined at...
Read more >
Data mining – Error messages reference - IBM
This error occurs if a stored procedure is called with incorrect values for the model locator or task locator. The column names in...
Read more >
Regression tests for the marian-dev repository - GitHub
It can be used to display the differences that cause the test fails. Adding new tests. Use templates provided in tests/_template . Please...
Read more >
How to Fix FutureWarning Messages in scikit-learn
You can check your scikit-learn version by running the following code: ... This warning message only affects the use of logistic regression ......
Read more >
4. Debugging
particularly regression tests. This avoids (reduces) the introduction of new bugs when debugging. • Testing and debugging need not be done by the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found