petl-developers / petl

Python Extract Transform and Load Tables of Data
MIT License
1.22k stars 190 forks source link

Fix #632: calling functions to*() should output by default to stdout #634

Closed juarezr closed 1 year ago

juarezr commented 1 year ago

This PR has the objective of fixing #632.

Changes

  1. Added a new test for checking output to stdout by default
  2. Fixed the regression on all to*() functions

Checklist

Use this checklist to ensure the quality of pull requests that include new code and/or make changes to existing code.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3525847841


Changes Missing Coverage Covered Lines Changed/Added Lines %
petl/io/sources.py 4 5 80.0%
petl/test/io/test_sources.py 6 7 85.71%
<!-- Total: 10 12 83.33% -->
Totals Coverage Status
Change from base Build 3131975355: -0.001%
Covered Lines: 12758
Relevant Lines: 14002

💛 - Coveralls