From a977072403c501995ea998ea35db41e89f103638 Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Thu, 26 Jan 2023 21:47:09 -0800 Subject: [PATCH] bpytop: fix test for arm --- Formula/bpytop.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/bpytop.rb b/Formula/bpytop.rb index 5e3780edd468..5a5c5e0f5441 100644 --- a/Formula/bpytop.rb +++ b/Formula/bpytop.rb @@ -45,11 +45,13 @@ def install test do config = (testpath/".config/bpytop") mkdir config/"themes" + # Disable cpu_freq on arm due to missing support: https://github.com/giampaolo/psutil/issues/1892 (config/"bpytop.conf").write <<~EOS #? Config file for bpytop v. #{version} update_ms=2000 log_level=DEBUG + show_cpu_freq=#{!Hardware::CPU.arm?} EOS require "pty"