eranheres / ultra_type

0 stars 0 forks source link

Add unit tests for Statistics class #20

Closed sweep-mine[bot] closed 9 months ago

sweep-mine[bot] commented 9 months ago

Description

This pull request adds unit tests for the Statistics class to ensure its functionality and accuracy.

Summary

Fixes #18.


🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can:

sweep-mine[bot] commented 9 months ago

Sandbox Executions

poetry run pylint -E **/*.py 1/1 ❌ (`2`)
************* Module tests.test_statistics
tests/test_statistics.py:56:63: E0001: Parsing failed: 'unindent does not match any outer indentation level (, line 56)' (syntax-error)

poetry run pylint -E **/*.py 1/1 ❌ (`2`)
************* Module tests.test_statistics
tests/test_statistics.py:56:63: E0001: Parsing failed: 'unindent does not match any outer indentation level (, line 56)' (syntax-error)

poetry run pylint -E **/*.py 1/1 ❌ (`2`)
************* Module tests.test_statistics
tests/test_statistics.py:56:63: E0001: Parsing failed: 'unindent does not match any outer indentation level (, line 56)' (syntax-error)

sweep-mine[bot] commented 9 months ago

Apply Sweep Rules to your PR?

sweep-mine[bot] commented 9 months ago

The command: Run # stop the build if there are Python syntax errors or undefined names yielded the following error: ##[error]Process completed with exit code 1. Here are the logs:

./tests/test_statistics.py:56:64: E999 IndentationError: unindent does not match any outer indentation level
1     E999 IndentationError: unindent does not match any outer indentation level
1
sweep-mine[bot] commented 9 months ago

🚀 Wrote Changes

Done.