Skip to content

Commit

Permalink
Remove pytest-csv from dev-requirements.txt (#9473)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1cbc6d3)
  • Loading branch information
aranke authored and github-actions[bot] committed Jan 29, 2024
1 parent e9ee761 commit fa4db6f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion core/dbt/parser/generic_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ def create_generic_test_macro(
self, block: jinja.BlockTag, base_node: UnparsedMacro, name: str
) -> Macro:
unique_id = self.generate_unique_id(name)
macro_sql = block.full_block or ""

return Macro(
path=base_node.path,
macro_sql=block.full_block,
macro_sql=macro_sql,
original_file_path=base_node.original_file_path,
package_name=base_node.package_name,
resource_type=base_node.resource_type,
Expand Down
3 changes: 2 additions & 1 deletion core/dbt/parser/macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ def get_compiled_path(cls, block: FileBlock):

def parse_macro(self, block: jinja.BlockTag, base_node: UnparsedMacro, name: str) -> Macro:
unique_id = self.generate_unique_id(name)
macro_sql = block.full_block or ""

return Macro(
path=base_node.path,
macro_sql=block.full_block,
macro_sql=macro_sql,
original_file_path=base_node.original_file_path,
package_name=base_node.package_name,
resource_type=base_node.resource_type,
Expand Down
4 changes: 2 additions & 2 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ mypy==1.4.1
pip-tools
pre-commit
protobuf>=4.0.0
pytest
pytest~=7.4
pytest-cov
pytest-csv
pytest-csv~=3.0
pytest-dotenv
pytest-logbook
pytest-mock
Expand Down

0 comments on commit fa4db6f

Please sign in to comment.